package cn.yinyu.queue.module.ecg.controller.admin.checktype.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.yinyu.queue.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.yinyu.queue.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 检查类型分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CheckTypePageReqVO extends PageParam {

    @Schema(description = "检查类型名", example = "嘉木")
    private String name;

    @Schema(description = "检查类型值")
    private Integer value;

    @Schema(description = "允许准备中人数")
    private Integer readyNum;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "需要设备领用")
    private Integer needDevReady;

    @Schema(description = "叫号列")
    private Integer callingColumn;

    @Schema(description = "根据患者来源决定，是否显示患者条码")
    private Integer[] displayBarcode;

    @Schema(description = "是否需要确费")
    private Integer expenseRecognition;

    @Schema(description = "时段预约规定人数")
    private Integer timeslotBookNum;

    @Schema(description = "每时段预留人数")
    private Integer timeslotReservedNum;

    @Schema(description = "亲和的检查类型")
    private Integer[] affinityCheckTypes;

    @Schema(description = "预约注意事项")
    private String notes;

    @Schema(description = "预约序号显示前缀")
    private String seqPrefix;
}